import Vue from 'vue'
import Router from 'vue-router'
import StudentCourseSelect from "../../../components/studentPages/StudentCourseSelect";
import StudentExamInit from "../../../components/studentPages/StudentExamInit";
import StudentInfoEdit from '../../../components/studentPages/StudentInfoEdit'
import StudentPasswordEdit from "../../../components/studentPages/StudentPasswordEdit";
import StudentLeaveAdmin from "../../../components/studentPages/StudentLeaveAdmin";
import StudentBackAdmin from "../../../components/studentPages/StudentBackAdmin";
import StudentCourseInfo from "../../../components/studentPages/StudentCourseInfo";
import StudentTeachAst from "../../../components/studentPages/StudentTeachAst";
import StudentScoreInfo from "../../../components/studentPages/StudentScoreInfo";
import TeacherAst from "../../../components/teacherPages/TeacherAst";
import TeacherCourseInfo from "../../../components/teacherPages/TeacherCourseInfo";
import TeacherInfoEdit from "../../../components/teacherPages/TeacherInfoEdit";
import TeacherPasswordEdit from "../../../components/teacherPages/TeacherPasswordEdit";
import TeacherScoreInfo from "../../../components/teacherPages/TeacherScoreInfo";
import HostAnnounce from "../../../components/hostPages/HostAnnounce";
import HostBookBorrow from "../../../components/hostPages/HostBookBorrow";
import HostBookInit from "../../../components/hostPages/HostBookInit";
import HostCourseInit from "../../../components/hostPages/HostCourseInit";
import HostExamInit from "../../../components/hostPages/HostExamInit";
import HostInfoEdit from "../../../components/hostPages/HostInfoEdit";
import HostPasswordEdit from "../../../components/hostPages/HostPasswordEdit";
import HostUsrInit from "../../../components/hostPages/HostUsrInit";
import HostAdminLeave from "../../../components/hostPages/HostAdminLeave"
import HostFunctionAdd from "../../../components/hostPages/HostFunctionAdd";


Vue.use(Router)

const adminRouter = new Router({
  routes: [
    {
      path: '/StudentCourseSelect',
      name: 'StudentCourseSelect',
      component: StudentCourseSelect
    },
    {
      path: '/StudentExamInit',
      name: 'StudentExamInit',
      component: StudentExamInit
    },
    {
      path: '/StudentInfoEdit',
      name: 'StudentInfoAdmin',
      component: StudentInfoEdit
    },
    {
      path: '/StudentPasswordEdit',
      name: 'StudentPasswordEdit',
      component: StudentPasswordEdit
    },
    {
      path: '/StudentLeaveAdmin',
      name: 'StudentLeaveAdmin',
      component: StudentLeaveAdmin
    },
    {
      path: '/StudentBackAdmin',
      name: 'StudentBackAdmin',
      component: StudentBackAdmin
    },
    {
      path: '/StudentCourseInfo',
      name: 'StudentCourseInfo',
      component: StudentCourseInfo
    },
    {
      path: '/StudentTeachAst',
      name: 'StudentTeachAst',
      component: StudentTeachAst
    },
    {
      path: '/StudentScoreInfo',
      name: 'StudentScoreInfo',
      component: StudentScoreInfo
    },
    {
      path:'/TeacherAst',
      name:'TeacherAst',
      component: TeacherAst
    },
    {
      path: '/TeacherCourseInfo',
      name: 'TeacherCourseInfo',
      component: TeacherCourseInfo
    },
    {
      path: '/TeacherInfoEdit',
      name: 'TeacherInfoEdit',
      component: TeacherInfoEdit
    },
    {
      path: '/TeacherPasswordEdit',
      name: 'TeacherPasswordEdit',
      component: TeacherPasswordEdit
    },
    {
      path: '/TeacherScoreInfo',
      name: 'TeacherScoreInfo',
      component: TeacherScoreInfo
    },
    {
      path: '/HostAnnounce',
      name: 'HostAnnounce',
      component: HostAnnounce
    },
    {
      path: '/HostBookBorrow',
      name: 'HostBookBorrow',
      component: HostBookBorrow
    },
    {
      path: '/HostBookInit',
      name: 'HostBookInit',
      component: HostBookInit
    },
    {
      path: '/HostCourseInit',
      name: 'HostCourseInit',
      component: HostCourseInit
    },
    {
      path: '/HostExamInit',
      name: 'HostExamInit',
      component: HostExamInit
    },
    {
      path: '/HostInfoEdit',
      name: 'HostInfoEdit',
      component: HostInfoEdit
    },
    {
      path: '/HostPasswordEdit',
      name: 'HostPasswordEdit',
      component: HostPasswordEdit
    },
    {
      path: '/HostUsrInit',
      name: 'HostUsrInit',
      component: HostUsrInit
    },
    {
      path: '/HostAdminLeave',
      name: 'HostAdminLeave' ,
      component: HostAdminLeave
    },
    {
      path: '/HostFunctionAdd',
      name: 'HostFunctionAdd' ,
      component: HostFunctionAdd
    }
  ]
})

export default adminRouter;
